home *** CD-ROM | disk | FTP | other *** search
- on enterFrame
- global MUSICBOX, MUSIC_CHANNEL, PICTUREBOX, INDICATOR, CONTROLS, FFLAKE, BFLAKE, CBOX, flakeList, currentTune, currentVolume
- set MUSICBOX to the number of cast "Holly & Ivy" - 1
- set PICTUREBOX to the number of cast "A1"
- set MUSIC_CHANNEL to 28
- set INDICATOR to 3
- set CONTROLS to 11
- set FFLAKE to 12
- set BFLAKE to 4
- set CBOX to 4
- set flakeList to []
- set currentVolume to 0
- set currentTune to 1
- set the timeoutLength to 120 * 60
- set the timeoutScript to "flashControls"
- repeat with currentchannel = CONTROLS to CONTROLS + 2
- puppetSprite(currentchannel, 1)
- set the visible of sprite currentchannel to 0
- end repeat
- puppetSprite(MUSIC_CHANNEL, 1)
- set the movieRate of sprite MUSIC_CHANNEL to 0
- set the volume of sprite MUSIC_CHANNEL to currentVolume
- puppetSprite(INDICATOR, 1)
- set the castNum of sprite INDICATOR to the number of cast "1"
- puppetSprite(CBOX, 1)
- set the castNum of sprite CBOX to the number of cast "close-box"
- repeat with currentchannel = BFLAKE + 1 to BFLAKE + 3
- puppetSprite(currentchannel, 1)
- end repeat
- repeat with currentchannel = FFLAKE + 4 to FFLAKE + 8
- puppetSprite(currentchannel, 1)
- end repeat
- repeat with currentFlake = 1 to 3
- createBackgroundFlake()
- end repeat
- repeat with currentFlake = 1 to 5
- createForegroundFlake()
- end repeat
- puppetSound("Buzz")
- flashControls()
- end
-